package com.demo.domain;

import lombok.Data;

import javax.validation.constraints.Size;

/**
 * @author zcx
 * @Title 领域
 * @date 2019年02月25日 15:30
 **/
@Data
public class Person {

    @Size(max=4,min=2) //1
    private String name;

    private int age;

    private String nation;

    private String address;

}
